package com.li.temperature.chart.util;

public class Config {

    /**
     * 数据计算默认时间间隔，单位ms
     */
    public static int DEFAULT_COLLECT_PERIOD = 1000;

    /**
     * 数据计算默认时间间隔，单位ms
     */
    public static int DEFAULT_CAL_PERIOD = 2000;
    public static int DEFAULT_CAL_PERIOD_S = 5;

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone0/temp"
     * 
     * 例如数值 36007 单位 m℃
     */
    public static String T1 = "T1";
    public static String T1_PATH = "/sys/class/thermal/thermal_zone0/temp";
    public static String T1_TYPE = "/sys/class/thermal/thermal_zone0/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone1/temp"
     * 
     * 例如数值 38436 单位 m℃
     */
    public static String T2 = "T2";
    public static String T2_PATH = "/sys/class/thermal/thermal_zone1/temp";
    public static String T2_TYPE = "/sys/class/thermal/thermal_zone1/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone2/temp"
     * 
     * 例如数值 35000 单位 m℃
     */
    public static String T3 = "T3";
    public static String T3_PATH = "/sys/class/thermal/thermal_zone2/temp";
    public static String T3_TYPE = "/sys/class/thermal/thermal_zone2/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone3/temp"
     * 
     * 例如数值 35 单位℃
     */
    public static String T4 = "T4";
    public static String T4_PATH = "/sys/class/thermal/thermal_zone3/temp";
    public static String T4_TYPE = "/sys/class/thermal/thermal_zone3/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone4/temp"
     * 
     * 例如数值 37 单位℃
     */
    public static String T5 = "T5";
    public static String T5_PATH = "/sys/class/thermal/thermal_zone4/temp";
    public static String T5_TYPE = "/sys/class/thermal/thermal_zone4/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone5/temp"
     * 
     * 例如数值 34 单位℃
     */
    public static String T6 = "T6";
    public static String T6_PATH = "/sys/class/thermal/thermal_zone5/temp";
    public static String T6_TYPE = "/sys/class/thermal/thermal_zone5/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone7/temp"
     * 
     * 例如数值 -40 单位℃
     */
    public static String T7 = "T7";
    public static String T7_PATH = "/sys/class/thermal/thermal_zone7/temp";
    public static String T7_TYPE = "/sys/class/thermal/thermal_zone7/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone8/temp"
     * 
     * 例如数值 37833 单位 m℃
     */
    public static String T8 = "T8";
    public static String T8_PATH = "/sys/class/thermal/thermal_zone8/temp";
    public static String T8_TYPE = "/sys/class/thermal/thermal_zone8/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone9/temp"
     * 
     * 例如数值 37833 单位 m℃
     */
    public static String T9 = "T9";
    public static String T9_PATH = "/sys/class/thermal/thermal_zone9/temp";
    public static String T9_TYPE = "/sys/class/thermal/thermal_zone9/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone10/temp"
     * 
     * 例如数值 37388 单位 m℃
     */
    public static String T10 = "T10";
    public static String T10_PATH = "/sys/class/thermal/thermal_zone10/temp";
    public static String T10_TYPE = "/sys/class/thermal/thermal_zone10/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone11/temp"
     * 
     * 例如数值 36555 单位 m℃
     */
    public static String T11 = "T11";
    public static String T11_PATH = "/sys/class/thermal/thermal_zone11/temp";
    public static String T11_TYPE = "/sys/class/thermal/thermal_zone11/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone12/temp"
     * 
     * 例如数值 37055 单位 m℃
     */
    public static String T12 = "T12";
    public static String T12_PATH = "/sys/class/thermal/thermal_zone12/temp";
    public static String T12_TYPE = "/sys/class/thermal/thermal_zone12/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone13/temp"
     * 
     * 例如数值 37580 单位 m℃
     */
    public static String T13 = "T13";
    public static String T13_PATH = "/sys/class/thermal/thermal_zone13/temp";
    public static String T13_TYPE = "/sys/class/thermal/thermal_zone13/type";

    /**
     * 
     * adb shell "cat /sys/class/thermal/thermal_zone14/temp"
     * 
     * 例如数值 32150 单位 m℃
     */
    public static String T14 = "T14";
    public static String T14_PATH = "/sys/class/thermal/thermal_zone14/temp";
    public static String T14_TYPE = "/sys/class/thermal/thermal_zone14/type";

    /**
     * CPU小核 频率
     * 
     * adb shell "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
     * 
     * 例如数值 1844000 单位 hz
     */
    public static String F1 = "F1";
    public static String F1_PATH = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq";

    /**
     * CPU大核 频率
     * 
     * adb shell "cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq"
     * 
     * 例如数值 1018000 单位 hz
     */
    public static String F2 = "F2";
    public static String F2_PATH = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq";

    /**
     * GPU频率
     * 
     * adb shell "cat /sys/class/devfreq/gpufreq/cur_freq"
     * 
     * 获取不到，Permission denied
     */
    public static String F3 = "F3";
    public static String F3_PATH = "/sys/class/devfreq/gpufreq/cur_freq";

    /**
     * DDR 频率
     * 
     * adb shell "cat /sys/class/devfreq/ddrfreq/cur_freq"
     * 
     * 获取不到，Permission denied
     */
    public static String F4 = "F4";
    public static String F4_PATH = "/sys/class/devfreq/ddrfreq/cur_freq";

    /**
     * 电池电流
     * 
     * adb shell "cat /sys/class/power_supply/battery/BatteryAverageCurrent"
     * 
     * 单位 mA
     */
    public static String CURRENT = "current";
    public static String CURRENT_PATH = "/sys/class/power_supply/Battery/current_now";
    // public static String CURRENT_PATH =
    // "/sys/class/power_supply/battery/BatteryAverageCurrent";

    /**
     * 电池电压
     * 
     * adb shell "cat /sys/class/power_supply/battery/batt_vol"
     * 
     * 单位 uV
     */
    public static String VOLTAGE = "voltage";
    public static String VOLTAGE_PATH = "/sys/class/power_supply/Battery/voltage_now";
    // public static String VOLTAGE_PATH =
    // "/sys/class/power_supply/battery/batt_vol";

    /**
     * 电池电量
     * 
     * adb shell "cat /sys/class/power_supply/Battery/capacity"
     * 
     * 获取不到，Permission denied
     */
    public static String CAPACITY_BATTERY = "capacity_battery";
    public static String CAPACITY_BATTERY_PATH = "/sys/class/power_supply/Battery/capacity";

    /**
     * 屏幕亮度
     * 
     * adb shell "cat /sys/class/leds/lcd_backlight0/brightness"
     * 
     * 获取不到，Permission denied
     */
    public static String BRIGHTNESS = "brightness";
    public static String BRIGHTNESS_PATH = "/sys/class/leds/lcd_backlight0/brightness";

    /**
     * Ibus
     * 
     * adb shell "cat /sys/class/hw_power/charger/charge_data/Ibus"
     * 
     * 获取不到，Permission denied
     */
    public static String IBUS = "ibus";
    public static String IBUS_PATH = "/sys/class/hw_power/charger/charge_data/Ibus";
    /**
     * frame_count
     * 
     * adb shell "cat /sys/class/graphics/fb0/frame_count"
     * 
     * 获取不到，Permission denied fps=[frame_count（n+1时刻）-frame_count（n时刻）]/时间间隔
     */
    public static String FPS = "fps";
    public static String FPS_PATH = "/sys/class/graphics/fb0/frame_count";
    /**
     * thermal_meter0
     * 
     * adb shell "cat /sys/class/camerafs/node/thermal_meter0"
     * 
     * 获取不到，Permission denied
     * 
     * 采样值为-128或0-100的数
     */
    public static String TC0 = "TC0";
    public static String TC0_PATH = "/sys/class/camerafs/node/thermal_meter0";
    /**
     * thermal_meter1
     * 
     * adb shell "cat /sys/class/camerafs/node/thermal_meter1"
     * 
     * 获取不到，Permission denied
     * 
     * 采样值为-128或0-100的数
     */
    public static String TC1 = "TC1";
    public static String TC1_PATH = "/sys/class/camerafs/node/thermal_meter1";
    /**
     * thermal_meter2
     * 
     * adb shell "cat /sys/class/camerafs/node/thermal_meter2"
     * 
     * 获取不到，Permission denied
     * 
     * 采样值为-128或0-100的数
     */
    public static String TC2 = "TC2";
    public static String TC2_PATH = "/sys/class/camerafs/node/thermal_meter2";

}
